]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
rfkill: remove unused code
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 8 Sep 2014 22:13:57 +0000 (15:13 -0700)
committerBastien Nocera <hadess@hadess.net>
Fri, 7 Nov 2014 09:29:13 +0000 (10:29 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=736292

js/ui/status/rfkill.js

index b2359d84ab71ccc40506d47d04c1a34755b52eb0..545ce7c0890436b5e53c35a4c2d8a6ca214a26ce 100644 (file)
@@ -101,8 +101,6 @@ const Indicator = new Lang.Class({
     _sync: function() {
         let airplaneMode = this._manager.airplaneMode;
         let hwAirplaneMode = this._manager.hwAirplaneMode;
-        let changed = (airplaneMode != this._indicator.visible) ||
-            (hwAirplaneMode != this._offItem.actor.visible);
 
         this._indicator.visible = airplaneMode;
         this._item.actor.visible = airplaneMode;